package com.springboot.spring03tx.service;

public interface UserService {

    // 购买图书
    //username: 用户名
    //bookId: 图书编号
    //buyNum: 购买数量
    void checkout(String username, Integer bookId, Integer buyNum) throws InterruptedException;
}
